package com.hx.hospital.service;


import com.hx.common.result.PageResult;
import com.hx.hospital.pojo.Card;

import java.util.*;

/**
 * card业务逻辑层
 */
public interface CardService {


    public List<Card> findAll();


    public PageResult<Card> findPage(int page, int size);


    public List<Card> findList(Map<String, Object> searchMap);


    public PageResult<Card> findPage(Map<String, Object> searchMap, int page, int size);


    public Card findById(Long id);

    public void add(Card card);


    public void update(Card card);


    public void delete(Long id);

}
